-- GENERATED SPELL FOR [Bone Guard] --


function spell0_32479(pUnit, Event) --@Mortal Strike,n/a--
pUnit:FullCastSpellOnTarget(32736,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32479', 5348, 1)
end

function Sorts_32479(pUnit, Event)
local choix_sorts_32479 = math.random(0, 0)
if choix_sorts_32479 == 0 then
pUnit:RegisterEvent('spell0_32479', 1, 1)
end
end

function mob32479_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32479', math.random(1500, 3000), 1)
end

function mob32479_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32479_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32479_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32479, 1, 'mob32479_Action')
RegisterUnitEvent(32479, 2, 'mob32479_Leave')
RegisterUnitEvent(32479, 3, 'mob32479_Kill')
RegisterUnitEvent(32479, 4, 'mob32479_Die')
